/* eslint-disable camelcase */
import { hex_md5 } from '@/assets/js/md5.js'
var requestParam = function () {
  var clientName = 'nuojfApp'
  var clientVersion = '1.0.0'
  var os = 'ios'
  var osVersion = '7.0'
  var brand = 'Xiaomi'
  var model = 'RedmiNote4'
  var uuid = 'abcdefg'
  var networkType = 'wifi'
  var resolution = '1920*1080'
  var st = new Date().getTime()
  var key = 'key=82q*ngZzt7BoMMcUq%NvEUBdTnrw*DZ$'
  var paramStr = key + '&brand=' + brand + '&clientName=' + clientName + '&clientVersion=' + clientVersion + '&model=' + model + '&networkType=' + networkType + '&os=' + os + '&osVersion=' + osVersion + '&resolution=' + resolution + '&st=' + st + '&uuid=' + uuid
  var sign = hex_md5(paramStr)
  return '?clientName=' + clientName + '&clientVersion=' + clientVersion + '&os=' + os + '&osVersion=' + osVersion + '&brand=' + brand + '&model=' + model + '&uuid=' + uuid + '&networkType=' + networkType + '&resolution=' + resolution + '&st=' + st + '&sign=' + sign
}
export default requestParam()
